import Vue from 'vue'
import Router from 'vue-router'
import About from '@/components/About'
import Consent from '@/components/Consent'
import Paper from '@/components/Paper'
import Topic from '@/components/Topic'
import Result from '@/components/Result'
import Test from '@/components/Test'
import Pay from '@/components/Pay'
import Coding from '@/components/Coding'
import Privilege from '@/components/Privilege'

Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [
      {
          path: '/',
          name: 'About',
          component: About
      },
      {
          path:'/Consent',
          name:'Consent',
          component:Consent
      },
      {
          path:'/Paper',
          name:'Paper',
          component:Paper
      },
      {
          path:'/Topic',
          name:'Topic',
          component:Topic
      },
      {
          path:'/Result',
          name:'Result',
          component:Result
      },
      {
          path:'/Test',
          name:'Test',
          component:Test
      },
      {
          path:'/Pay',
          name:'Pay',
          component:Pay
      },
      {
          path:'/Coding',
          name:'Coding',
          component:Coding
      },
      {
          path:'/Privilege',
          name:'Privilege',
          component:Privilege
      }
  ]
})
